StartCaptureSessionCallback

public interface StartCaptureSessionCallback implements BrowserAsyncCallback<P, R>

This callback is invoked when a web page requests permission to start a capture session.

Use the selectSource or the selectSource method to allow the web page to capture the specified source.

Use the cancel method to deny the permission.

If the callback throws an exception, the cancel is automatically invoked.

Since

7.20

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action to take in StartCaptureSessionCallback.
Link copied to clipboard
public interface Params
The parameters of the StartCaptureSessionCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.